Method, apparatus and device for acquiring luminance compensation data

ABSTRACT

A method for acquiring luminance compensation data, which includes: collecting an image of a first grayscale value and an image of a second grayscale value displayed by a display panel to be compensated; calculating a luminance difference between the image of the first grayscale value and image of the second grayscale value for each display unit of the display panel; determining a target luminance difference based on the luminance difference between the image of the first grayscale value and the image of the second grayscale value for each display unit; determining a preset compensation data calculation scheme corresponding to the display panel and acquiring images of grayscale values required by the preset compensation data calculation scheme, based on a preset condition that the target luminance difference meets; and determining the luminance compensation data for the display panel, based on the determined images of grayscale values.

CROSS REFERENCE TO RELATED APPLICATION

The application is a continuation of International Application No.PCT/CN2020/084909 filed on Apr. 15, 2020, which claims the benefit ofpriority to Chinese Patent Application No. 201910813622.9 filed on Aug.30, 2019 and entitled “METHOD, APPARATUS AND DEVICE FOR ACQUIRINGLUMINANCE COMPENSATION DATA”, both of which are incorporated herein byreference in their entireties.

TECHNICAL FIELD

The application relates to the field of display technology, andparticularly to a method, apparatus and device for acquiring luminancecompensation data.

BACKGROUND

A display panel may have a Mura defect caused by factors, such asproduction techniques, during a production process of the display panel.Mura refers to a phenomenon of various traces caused by uneven luminanceof the display panel. In order to remedy the Mura defect of the displaypanel, it is usually necessary to perform luminance compensation for thedisplay panel. However, in the related art, multiple grayscale imagesare generally used to acquire luminance compensation data, so as tocompensate all display panels in the same manner. In this manner, eachof the display panels cannot be matched optimally, and the manner istime consuming and has a low efficiency.

How to optimize the approach for luminance compensation for each of thedisplay panels has become an urgent problem to be solved at present.

SUMMARY

In a first aspect, the present application provides a method foracquiring luminance compensation data, to be applied to a display panelto be compensated. The display panel includes a plurality of displayunits. The method for acquiring luminance compensation data includes:collecting an image of a first grayscale value and an image of a secondgrayscale value displayed by the display panel; calculating a luminancedifference between the image of the first grayscale value and the imageof the second grayscale value for each of the display units of thedisplay panel, based on the collected image of the first grayscale valueand image of the second grayscale value; determining a target luminancedifference based on the luminance difference between the image of thefirst grayscale value and the image of the second grayscale value foreach of the display units; determining a preset compensation datacalculation scheme corresponding to the display panel and acquiringimages of grayscale values required by the preset compensation datacalculation scheme, based on a preset condition that the targetluminance difference meets; and determining the luminance compensationdata for the display panel, based on the acquired images of grayscalevalues.

The method for acquiring luminance compensation data provided by thefirst aspect of the present application, before determining theluminance compensation data for the display panel to be compensated,selects an appropriate preset compensation data calculation scheme, byanalyzing the luminance difference between the image of the firstgrayscale value and the image of the second grayscale value for each ofthe display units of the display panel, and acquires images of grayscalevalues corresponding to the scheme to process and acquire the luminancecompensation data. The method can thus select an appropriate scheme fordifferent display panels to be compensated. As compared with approachesin the related art, which require collecting multiple (usually no lessthan six) images of different grayscale values firstly and determineluminance compensation data based on the multiple images of differentgrayscale values, and the calculation scheme for which is thus complex,the method for acquiring luminance compensation data according toembodiments of the present application can improve highly the efficiencyfor acquiring luminance compensation data.

In a second aspect, the present application provides an apparatus foracquiring luminance compensation data, to be applied to a display panelto be compensated. The display panel includes a plurality of displayunits. The apparatus for acquiring luminance compensation data includes:a collection module, configured to collect an image of a first grayscalevalue and an image of a second grayscale value displayed by the displaypanel; a calculation module, configured to calculate a luminancedifference between the image of the first grayscale value and the imageof the second grayscale value for each of the display units of thedisplay panel, based on the image of the first grayscale value and theimage of the second grayscale value; a first determination module,configured to determine a target luminance difference based on theluminance difference between the image of the first grayscale value andthe image of the second grayscale value for each of the display units; asecond determination module, configured to determine a presetcompensation data calculation scheme corresponding to the display paneland acquire images of grayscale values required by the presetcompensation data calculation scheme, based on a preset condition thatthe target luminance difference meets; and a third determination module,configured to determine the luminance compensation data for the displaypanel, based on the acquired images of grayscale values.

In a third aspect, the present application provides a device foracquiring luminance compensation data. The device includes: a processor;and a memory, having computer program instructions stored thereon. Theprocessor, when executing the computer program instructions, implementsthe method for acquiring luminance compensation data according to any ofthe above embodiments.

BRIEF DESCRIPTION OF THE DRAWINGS

Features, advantages, and technical effects of embodiments of thepresent application will be described with reference to the accompanyingdrawings below. The accompanying drawings are not drawn to real scale.

FIG. 1 is a flowchart of a method for acquiring luminance compensationdata provided by an embodiment of the present application;

FIG. 2 is a flowchart of a method for acquiring luminance compensationdata provided by another embodiment of the present application;

FIG. 3 is a structural block diagram of an apparatus for acquiringluminance compensation data provided by an embodiment of the presentapplication; and

FIG. 4 is a structural diagram of an exemplary hardware architecture ofa device for acquiring luminance compensation data provided by anembodiment of the present application.

DETAILED DESCRIPTION

Features and exemplary embodiments according to various aspects of thepresent application will be described in details below. In the drawingsand the following description, at least a part of well-known structuresand technologies are not shown, in order to avoid unnecessary obscurityof the present application. In addition, the features, structures orcharacteristics described below may be combined in any suitable mannerin one or more embodiments.

The method, apparatus, and device for acquiring luminance compensationdata according to embodiments of the disclosure will be described belowin details with reference to FIGS. 1 to 4.

FIG. 1 is a flowchart of a method for acquiring luminance compensationdata provided by an embodiment of the present application. The methodfor acquiring luminance compensation data of the embodiment of thepresent application is to be applied to a display panel to becompensated. The display panel to be compensated includes a plurality ofdisplay units. Each of the display units refers to a small display areaformed by dividing a display area of the display panel to becompensated. Each display unit may include one or more sub-pixels. Thedisplay panel to be compensated may be a Liquid Crystal Display (LCD),or other types of display panels such as Organic Light-Emitting Diode(OLED) and Micro-LED, etc. The display panel may provided with aplurality of pixels arranged in an array, and each pixel may includered, green and blue sub-pixels.

As shown in FIG. 1, the method for acquiring luminance compensation dataof the embodiment of the present application may include the followingsteps.

In Step 101, an image of a first grayscale value and an image of asecond grayscale value displayed by the display panel to be compensatedare collected.

In a particular embodiment, the image of the first grayscale valuedisplayed by the display panel to be compensated may be collected by animage collection apparatus, when the display panel to be compensated isbeing controlled to display the image of the first grayscale value; andthe image of the second grayscale value displayed by the display panelto be compensated may be collected by the image collection apparatus,when the display panel to be compensated is being controlled to displaythe image of the second grayscale value. Luminance data of each of thedisplay units displaying the image of the first grayscale value and theimage of the second grayscale value may be obtained by image collection.

As shown in FIG. 1, the method of the embodiment of the presentapplication may include, in Step 102, calculating a luminance differencebetween the image of the first grayscale value and the image of thesecond grayscale value for each of the display units of the displaypanel to be compensated, based on the collected image of the firstgrayscale value and image of the second grayscale value.

In the step, a data processing apparatus, such as a computer, may beused to calculate the luminance difference between the image of thefirst grayscale value and the image of the second grayscale value foreach of the display units, based on luminance data of the image of thefirst grayscale value and image of the second grayscale value obtainedin above Step 101.

As shown in FIG. 1, the method of the embodiment of the presentapplication may include, in Step 103, determining a target luminancedifference based on the luminance difference between the image of thefirst grayscale value and the image of the second grayscale value foreach of the display units.

Optionally, the target luminance difference may be an absolute value ofa mean value of luminance differences between the image of the firstgrayscale value and the image of the second grayscale value for aplurality of the display units. This calculation process of the targetluminance difference is relatively simple, and thus the efficiency andaccuracy for processing data may be improved. Alternatively, the targetluminance difference may be an absolute value of the luminancedifference between the image of the first grayscale value and the imageof the second grayscale value for a part of the display units as thetarget luminance difference. For example, the mean value may becalculated after some abnormal data are eliminated, so as to improveaccuracy of the calculation of the target luminance difference. Thetarget luminance difference may also be an absolute value of a median ofthe luminance difference between the image of the first grayscale valueand the image of the second grayscale value for each of the displayunits as the target luminance difference. This calculation process ofthe target luminance difference is relatively simple, and thus theefficiency and accuracy for processing data may be improved. The targetluminance difference may also be determined in any other suitablemanners.

As shown in FIG. 1, the method of the embodiment of the presentapplication may include, in Step 104, determining a preset compensationdata calculation scheme corresponding to the display panel and acquiringimages of grayscale values required by the preset compensation datacalculation scheme, based on a preset condition that the targetluminance difference meets.

According to embodiments of the present application, several conditionsmay be preset for the target luminance difference, and correspondingrelationships between different preset conditions and presetcompensation data calculation schemes may be established. The numberand/or gray values of the images of gray values required by differentpreset compensation data calculation schemes may be different.

In this step, the preset compensation data calculation schemecorresponding to the display panel to be compensated may be determinedand the images of grayscale values required by the preset compensationdata calculation scheme may be acquired, based on the preset conditionthat the target luminance difference meets. That is, the presetcompensation data calculation scheme suitable for the display panel tobe compensated and the images of grayscale values required by the schememay be selected by this step. In the embodiment, because differentcompensation data calculation schemes need to process different data,selecting a suitable compensation data calculation scheme for differentdisplay panels to be compensated may improve processing efficiency, andin turn, the luminance compensation data may be determined by thecompensation data calculation scheme. As shown in FIG. 1, the method ofthe embodiment of the present application may include, in Step 105,determining the luminance compensation data for the display panel to becompensated, based on the acquired images of grayscale values.

The preset compensation data calculation scheme is determined and therequired images of grayscale values are acquired in above Step 104. InStep 105, the required images of grayscale values as acquired may beinputted into a computer having a software for determining luminancecompensation data installed thereon, for processing, to generate theluminance compensation data for the display panel to be compensated. Thesoftware for determining luminance compensation data installed on thecomputer is not limited herein, which may be any software that candetermine the luminance compensation data by grayscale images.

In the embodiment, the image of the first grayscale value and the imageof the second grayscale value displayed by the display panel to becompensated are collected, and the luminance difference between theimage of the first grayscale value and the image of the second grayscalevalue for each of the display units of the display panel to becompensated is calculated; subsequently, the target luminance differenceis determined through the luminance difference between the image of thefirst grayscale value and the image of the second grayscale value foreach of the display units, and the preset compensation data calculationscheme corresponding to the display panel is determined and the imagesof grayscale values required by the preset compensation data calculationscheme are acquired based on the preset condition that the targetluminance difference meets; and the luminance compensation data for thedisplay panel to be compensated may be determined based on the acquiredimages of grayscale values. The method for acquiring luminancecompensation data of the embodiment, before determining the luminancecompensation data for the display panel to be compensated, selects anappropriate preset compensation data calculation scheme, by analyzingthe luminance difference between the image of the first grayscale valueand the image of the second grayscale value for each of the displayunits of the display panel, and acquires images of grayscale valuescorresponding to the scheme to process and acquire the luminancecompensation data. The method can thus select an appropriate scheme fordifferent display panels to be compensated. As compared with approachesin the related art, which require collecting multiple (usually no lessthan six) images of different grayscale values firstly and determineluminance compensation data based on the multiple images of differentgrayscale values, and the calculation scheme for which is thus complex,the method for acquiring luminance compensation data of the embodimentcan improve highly the efficiency for acquiring luminance compensationdata.

Optionally, each of the display units may include a sub-pixel, so as toimprove the accuracy of the luminance compensation data.

Optionally, Step 103 may determine an absolute value |N| of a mean valueN of the luminance difference between the image of the first grayscalevalue and the image of the second grayscale value for each of thedisplay units as the target luminance difference.

In the following embodiments, the target luminance difference determinedas the absolute value |N| of the mean value N of the luminancedifference between the image of the first grayscale value and the imageof the second grayscale value for each of the display units, is taken asan example for description.

Reference is made to FIG. 2, which is a flowchart of a method foracquiring luminance compensation data provided by another embodiment ofthe present application.

FIG. 2 is different from FIG. 1 in that Step 104 shown in FIG. 1 may beimplemented particularly as Steps 1041 to 1043 shown in FIG. 2.

In particular, Step 104 may include the following steps.

In Step 1041, if the absolute value |N| of the mean value N of theluminance difference between the image of the first grayscale value andthe image of the second grayscale value for each of the display unitsmeets a preset condition: |N|<K1 (where K1 is a first preset thresholdof luminance difference), the preset compensation data calculationscheme corresponding to the display panel is determined as a firstscheme.

In this step, the images of grayscale values required by the firstscheme may include the image of the first grayscale value and the imageof the second grayscale value.

In the embodiment, it is determined that the first scheme of presetcompensation data calculation schemes is adopted to acquire theluminance compensation data for the display panel to be compensated,according to that the absolute value |N| of the mean value N meets thepreset condition: |N|<K1, and the images of grayscale values required bythe first scheme include the image of the first grayscale value and theimage of the second grayscale value. There is no need to obtain theimage of the first grayscale value and the image of the second grayscalevalue in this step, since they have been obtained in Step 101. The imageof the first grayscale value and the image of the second grayscale valuemay be inputted directly into a computer having a software fordetermining luminance compensation data installed thereon forprocessing. The luminance compensation data for the display panel to becompensated may be determined by the two images.

Further, Step 104 may include, in Step 1042, if the absolute value |N|of the mean value N of the luminance difference between the image of thefirst grayscale value and the image of the second grayscale value foreach of the display units meets a preset condition: K1≤|N|<K2 (where K2is a second preset threshold of luminance difference), determining thepreset compensation data calculation scheme corresponding to the displaypanel to be a second scheme, and collecting an image of a thirdgrayscale value and an image of a fourth grayscale value displayed bythe display panel to be compensated.

In this step, the images of grayscale values required by the secondscheme may include the image of the first grayscale value, the image ofthe second grayscale value, the image of the third grayscale value, andthe image of the fourth grayscale value. Both the third grayscale valueand the fourth grayscale value are between the first grayscale value andthe second grayscale value.

In the embodiment, it is determined that the second scheme of presetcompensation data calculation schemes is adopted to acquire theluminance compensation data for the display panel to be compensated,depending on that the absolute value |N| of the mean value N meets thepreset condition: K1≤|N|<K2, and the images of grayscale values requiredby the second scheme include the image of the first grayscale value, theimage of the second grayscale value, the image of the third grayscalevalue, and the image of the fourth grayscale value. Only the image ofthe third grayscale value and the image of the fourth grayscale valueare needed to be obtained in this step, since the first grayscale valueand the image of the second grayscale value have been obtained in Step101. The image of the first grayscale value, the image of the secondgrayscale value, the image of the third grayscale value, and the imageof the fourth grayscale value may then be inputted into a computerhaving a software for determining luminance compensation data installedthereon for processing. The luminance compensation data for the displaypanel to be compensated may be determined by the four images.

Furthermore, Step 104 may include, in Step 1043, if the absolute value|N| of the mean value N of the luminance difference between the image ofthe first grayscale value and the image of the second grayscale valuefor each of the display units meets a preset condition: |N|≥K2,determining the preset compensation data calculation schemecorresponding to the display panel to be a third scheme, and collectingan image of a third grayscale value, an image of a fourth grayscalevalue, an image of a fifth grayscale value, and an image of a sixthgrayscale value, displayed by the display panel to be compensated.

In this step, the images of grayscale values required by the thirdscheme may include the image of the first grayscale value, the image ofthe second grayscale value, the image of the third grayscale value, theimage of the fourth grayscale value, the image of the fifth grayscalevalue, and the image of the sixth grayscale value. Both the fifthgrayscale value and the sixth grayscale value are between the threegrayscale value and the fourth grayscale value.

In the embodiment, it is determined that the third scheme of presetcompensation data calculation schemes is adopted to acquire theluminance compensation data for the display panel to be compensated,depending on that the absolute value |N| of the mean value N meets thepreset condition: |N|≥K2, and the images of grayscale values required bythe third scheme include the image of the first grayscale value, theimage of the second grayscale value, the image of the third grayscalevalue, the image of the fourth grayscale value, the image of the fifthgrayscale value, and the image of the sixth grayscale value. Only theimage of the third grayscale value, the image of the fourth grayscalevalue, the image of the fourth grayscale value, and the image of thesixth grayscale value are needed to be obtained in this step, since thefirst grayscale value and the image of the second grayscale value havebeen obtained in Step 101. The image of the first grayscale value, theimage of the second grayscale value, the image of the third grayscalevalue, the image of the fourth grayscale value, the image of the fifthgrayscale value, and the image of the sixth grayscale value may then beinputted into a computer having a software for determining luminancecompensation data installed thereon for processing. The luminancecompensation data for the display panel to be compensated may bedetermined by the six images.

In the above embodiment, depending on the preset conditions satisfied bythe absolute value |N| of the mean value N of the luminance differencebetween the image of the first grayscale value and the image of thesecond grayscale value for each of the display units, an appropriatepreset compensation data calculation scheme is selected to acquire theluminance compensation data for the display panel to be compensated. Theefficiency may be improved and a complex calculation process may beavoided, by selecting a particular preset compensation data calculationscheme for a particular display panel.

Optionally, the first grayscale value, the second grayscale value, thethird grayscale value, the fourth grayscale value, the fifth grayscalevalue, and the sixth grayscale value may be 32, 224, 64, 192, 96, and160, respectively.

Optionally, the first preset threshold K1 of luminance difference andthe second preset threshold K2 of luminance difference may be chosenbased on experience, or may be obtained through calculation.Particularly, a large number of samples of display panels to becompensated may be collected and processed. Each of the samples may becontrolled to display the image of the first grayscale value and theimage of the second grayscale value. A luminance difference between theimage of the first grayscale value and the image of the second grayscalevalue for each display unit (for example, each sub-pixel) of each of thesamples may be obtained. A mean value of the luminance differencebetween the image of the first grayscale value and the image of thesecond grayscale value for each display unit of each of the samples maybe calculated. Compensation data acquired using the image of the firstgrayscale value and the image of the second grayscale value may then beused for luminance compensation of the sample. The samples may beclassified based on the compensation effects of the compensated samples.The maximum mean value of multiple samples with better compensationeffects may be determined as the first preset threshold K1 of luminancedifference. Subsequently, the samples with poor compensation effects maybe controlled to display the image of the third grayscale value and theimage of the fourth grayscale value. Luminance compensation dataacquired based on the image of the first grayscale value, the image ofthe second grayscale value, the image of the third grayscale value, andthe image of the fourth grayscale value of each sample may be used tocompensate the corresponding sample. These samples may then beclassified again based on the compensation effects. The maximum meanvalue of multiple samples with better compensation effects among thesesamples may be determined as the second preset threshold K2 of luminancedifference.

It is also possible to continue to obtain other preset thresholds ofluminance difference in the above manner, as required. Correspondingly,the foregoing embodiments may further add preset conditions and acquiremore images of grayscale values to acquire luminance compensation data.However, making a comprehensive consideration of the processingefficiency, it is enough to satisfy the requirements of accuracy andefficiency for luminance compensation, by setting three presetconditions.

Optionally, a size of a flash memory of the display panel to becomplemented may be determined based on the images of grayscale valuesrequired by the preset compensation data calculation schemecorresponding to the display panel. For example, the size of the flashmemory may be positively correlated with the number of the requiredimages of grayscale values.

In this embodiment, since the greater the number of the required imagesof grayscale values, the larger the memory that the acquired luminancecompensation data occupies, a flash memory with a suitable size may beselected based on the required images of grayscale values, to reduceproduction costs.

The luminance compensation data determined in the above embodiments maybe stored in the flash memory. When the display panel to be compensatedis in a practical working state, a chip of the display panel to becompensated may read the luminance compensation data from the flashmemory, to perform luminance compensation for the display panel to becompensated, so as to reduce or even eliminate Mura and improve thedisplay effect.

Embodiments of the present disclosure also provide an apparatus 300 foracquiring luminance compensation data. The apparatus 300 is to beapplied to a display panel to be compensated. The display panel includesa plurality of display units. Reference is made to FIG. 3, which is astructural block diagram of an apparatus for acquiring luminancecompensation data provided by an embodiment of the present application.The apparatus 300 for acquiring luminance compensation data may includea collection module 301, a calculation module 302, a first determinationmodule 303, a second determination module 304, and a third determinationmodule 305.

The collection module 301 is configured to collect an image of a firstgrayscale value and an image of a second grayscale value displayed bythe display panel to be compensated.

The calculation module 302 is configured to calculate a luminancedifference between the image of the first grayscale value and the imageof the second grayscale value for each of the display units of thedisplay panel to be compensated, based on the image of the firstgrayscale value and the image of the second grayscale value.

The first determination module 303 is configured to determine a targetluminance difference based on the luminance difference between the imageof the first grayscale value and the image of the second grayscale valuefor each of the display units to be compensated.

The second determination module 304 is configured to determine a presetcompensation data calculation scheme corresponding to the display panelto be compensated and acquire images of grayscale values required by thepreset compensation data calculation scheme, based on a preset conditionthat the target luminance difference meets.

The third determination module 305 is configured to determine theluminance compensation data for the display panel to be compensated,based on the acquired images of grayscale values.

In the embodiment, the image of the first grayscale value and the imageof the second grayscale value displayed by the display panel to becompensated are collected by the collection module 301, and theluminance difference between the image of the first grayscale value andthe image of the second grayscale value for each of the display units ofthe display panel to be compensated is calculated by the calculationmodule 302; subsequently, the target luminance difference is determinedby the first determination module 303 based on the luminance differencebetween the image of the first grayscale value and the image of thesecond grayscale value for each of the display units, and the presetcompensation data calculation scheme corresponding to the display panelis determined and the images of grayscale values required by the presetcompensation data calculation scheme are acquired by the seconddetermination module 304 based on the preset condition that the targetluminance difference meets; and the luminance compensation data for thedisplay panel to be compensated may be determined by the thirddetermination module 305 based on the acquired images of grayscalevalues. The apparatus for acquiring luminance compensation data of theembodiment, before determining the luminance compensation data for thedisplay panel to be compensated, selects an appropriate presetcompensation data calculation scheme, by analyzing the luminancedifference between the image of the first grayscale value and the imageof the second grayscale value for each of the display units of thedisplay panel, and acquires images of grayscale values corresponding tothe scheme to process and acquire the luminance compensation data. Theapparatus can thus select an appropriate scheme for different displaypanels to be compensated. As compared with approaches in the relatedart, which require collecting multiple (usually no less than six) imagesof different grayscale values firstly and determine luminancecompensation data based on the multiple images of different grayscalevalues, and the calculation scheme for which is thus complex, theapparatus for acquiring luminance compensation data of the embodimentcan improve highly the efficiency for acquiring luminance compensationdata.

Optionally, the second determination module 304 may be furtherconfigured to determine that the preset compensation data calculationscheme corresponding to the display panel to be compensated is a firstscheme, when the preset condition is that the target luminancedifference is less than a first preset threshold K1 of luminancedifference. The images of grayscale values required by the first schemeinclude the image of the first grayscale value and the image of thesecond grayscale value.

Alternatively, the second determination module 304 may be furtherconfigured to: determine that the preset compensation data calculationscheme corresponding to the display panel to be compensated is a secondscheme, when the preset condition is that the target luminancedifference is greater than or equal to a first preset threshold K1 ofluminance difference and less than a second preset threshold K2 ofluminance difference, wherein the images of grayscale values required bythe second scheme include the image of the first grayscale value and theimage of the second grayscale value, an image of a third grayscalevalue, and an image of a fourth grayscale value, and both the thirdgrayscale value and the fourth grayscale value are between the firstgrayscale value and the second grayscale value; and collect the image ofthe third grayscale value and the image of the fourth grayscale valuedisplayed by the display panel.

Alternatively, the second determination module 304 may be furtherconfigured to: determine that the preset compensation data calculationscheme corresponding to the display panel is a third scheme, when thepreset condition is that the target luminance difference is greater thanor equal to a second preset threshold K2 of luminance difference,wherein the images of grayscale values required by the third schemeinclude the image of the first grayscale value and the image of thesecond grayscale value, an image of a third grayscale value, an image ofa fourth grayscale value, an image of a fifth grayscale value, and animage of a sixth grayscale value, and both the fifth grayscale value andthe sixth grayscale value are between the third grayscale value andfourth grayscale value; and collect the image of the third grayscalevalue, the image of the fourth grayscale value, the image of the fifthgrayscale value, and the image of the sixth grayscale value displayed bythe display panel.

Optionally, the target luminance difference may be an absolute value ofa mean value of the luminance differences between the image of the firstgrayscale value and the image of the second grayscale value for aplurality of the display units.

Optionally, the first grayscale value, second grayscale value, thirdgrayscale value, fourth grayscale value, fifth grayscale value, andsixth grayscale value may be 32, 224, 64, 192, 96, and 160,respectively.

Optionally, each of the display units may include a sub-pixel.

Optionally, the apparatus may further include a fourth determinationmodule, configured to determine a size of a flash memory of the displaypanel, based on the required images of grayscale values. The size of theflash memory may be positively correlated with a number of the requiredimages of grayscale values.

Since the embodiments of the apparatus 300 for acquiring luminancecompensation data corresponds to the above embodiments of the method foracquiring luminance compensation data, the apparatus 300 for acquiringluminance compensation data may have the same beneficial effects as themethod for acquiring luminance compensation data, which will not berepeated herein.

The method and apparatus for acquiring luminance compensation dataaccording to the embodiments of this specification described inconjunction with FIG. 1 to FIG. 3 may be implemented by a device foracquiring luminance compensation data. FIG. 4 is a structural diagram ofan exemplary hardware architecture of a device 400 for acquiringluminance compensation data provided by an embodiment of the presentapplication.

As shown in FIG. 4, the device 400 for acquiring luminance compensationdata may include an input apparatus 401, an input interface 402, acentral processor 403, a memory 404, an output interface 405, and anoutput apparatus 406. Among them, the input interface 402, the centralprocessor 403, the memory 404, and the output interface 405 areconnected with each other through a bus 410, and the input apparatus 401and the output apparatus 406 are connected to the bus 410 through theinput interface 402 and the output interface 405 respectively, and thenconnected to the other components of the device 400 for acquiringluminance compensation data.

Particularly, the input apparatus 401 may receive input information fromthe outside. The external input information may be an image of a firstgrayscale value and an image of a second grayscale value displayed by adisplay panel to be compensated. The input apparatus 401 may thentransmit the input information to the central processor 403 through theinput interface 402. The central processor 403 may process the inputinformation based on computer executable instructions stored in thememory 404, to generate output information. The output information maybe luminance compensation data. The processor 403 may store the outputinformation in the memory 404 temporarily or permanently, and transmitthe output information to the output apparatus 406 through the outputinterface 405. The output apparatus 406 may output the outputinformation to the outside of the device 400 for acquiring luminancecompensation data, for use by a user.

That is to say, the device 400 for acquiring luminance compensation datashown in FIG. 4 may also be implemented to include a memory havingcomputer executable instructions stored thereon; and a processor, which,when executing the computer executable instructions, implements themethod and apparatus for acquiring luminance compensation data describedin conjunction with FIG. 1 to FIG. 3.

Optionally, the luminance compensation data may be transmitted to aflash memory through the output apparatus 406, and be stored in theflash memory. A chip of the display panel to be compensated may read theluminance compensation data from the flash memory, to perform luminancecompensation for the display panel to be compensated, so as to reduce oreven eliminate Mura and improve the display effect.

What is claimed is:
 1. A method for acquiring luminance compensationdata, to be applied to a display panel to be compensated, wherein thedisplay panel comprises a plurality of display units, and the methodcomprises: collecting an image of a first grayscale value and an imageof a second grayscale value displayed by the display panel; calculatinga luminance difference between the image of the first grayscale valueand the image of the second grayscale value for each of the displayunits of the display panel, based on the collected image of the firstgrayscale value and image of the second grayscale value; determining atarget luminance difference based on the luminance difference betweenthe image of the first grayscale value and the image of the secondgrayscale value for each of the display units; determining a presetcompensation data calculation scheme corresponding to the display paneland acquiring images of grayscale values required by the presetcompensation data calculation scheme, based on a preset condition thatthe target luminance difference meets; and determining the luminancecompensation data for the display panel, based on the acquired images ofgrayscale values.
 2. The method for acquiring luminance compensationdata of claim 1, wherein determining the preset compensation datacalculation scheme corresponding to the display panel and acquiring theimages of grayscale values required by the preset compensation datacalculation scheme, based on the preset condition that the targetluminance difference meets comprises: when the preset condition is thatthe target luminance difference is less than a first preset threshold K1of luminance difference, determining that the preset compensation datacalculation scheme corresponding to the display panel is a first scheme,wherein the images of grayscale values required by the first schemecomprise the image of the first grayscale value and the image of thesecond grayscale value.
 3. The method for acquiring luminancecompensation data of claim 1, wherein determining the presetcompensation data calculation scheme corresponding to the display paneland acquiring the images of grayscale values required by the presetcompensation data calculation scheme, based on the preset condition thatthe target luminance difference meets comprises: when the presetcondition is that the target luminance difference is greater than orequal to a first preset threshold K1 of luminance difference and lessthan a second preset threshold K2 of luminance difference, determiningthat the preset compensation data calculation scheme corresponding tothe display panel is a second scheme, wherein the images of grayscalevalues required by the second scheme comprise the image of the firstgrayscale value and the image of the second grayscale value, an image ofa third grayscale value, and an image of a fourth grayscale value, andboth the third grayscale value and the fourth grayscale value arebetween the first grayscale value and the second grayscale value, andcollecting the image of the third grayscale value and the image of thefourth grayscale value displayed by the display panel.
 4. The method foracquiring luminance compensation data of claim 1, wherein determiningthe preset compensation data calculation scheme corresponding to thedisplay panel and acquiring the images of grayscale values required bythe preset compensation data calculation scheme, based on the presetcondition that the target luminance difference meets comprises: when thepreset condition is that the target luminance difference is greater thanor equal to a second preset threshold K2 of luminance difference,determining that the preset compensation data calculation schemecorresponding to the display panel is a third scheme, wherein the imagesof grayscale values required by the third scheme comprise the image ofthe first grayscale value and the image of the second grayscale value,an image of a third grayscale value, an image of a fourth grayscalevalue, an image of a fifth grayscale value, and an image of a sixthgrayscale value, both the third grayscale value and the fourth grayscalevalue are between the first grayscale value and the second grayscalevalue, and both the fifth grayscale value and the sixth grayscale valueare between the third grayscale value and the fourth grayscale value,and collecting the image of the third grayscale value, the image of thefourth grayscale value, the image of the fifth grayscale value, and theimage of the sixth grayscale value displayed by the display panel. 5.The method for acquiring luminance compensation data claim 4, whereinthe first grayscale value, the second grayscale value, the thirdgrayscale value, the fourth grayscale value, the fifth grayscale value,and the sixth grayscale value are 32, 224, 64, 192, 96, and 160,respectively.
 6. The method for acquiring luminance compensation data ofclaim 1, wherein determining the target luminance difference based onthe luminance difference between the image of the first grayscale valueand the image of the second grayscale value for each of the displayunits comprises: determining an absolute value of a mean value of theluminance differences between the image of the first grayscale value andthe image of the second grayscale value for a plurality of the displayunits as the target luminance difference.
 7. The method for acquiringluminance compensation data of claim 1, wherein determining the targetluminance difference based on the luminance difference between the imageof the first grayscale value and the image of the second grayscale valuefor each of the display units comprises: determining an absolute valueof a mean value of the luminance differences between the image of thefirst grayscale value and the image of the second grayscale value for asubset of the display units as the target luminance difference.
 8. Themethod for acquiring luminance compensation data of claim 1, whereindetermining the target luminance difference based on the luminancedifference between the image of the first grayscale value and the imageof the second grayscale value for each of the display units comprises:determining an absolute value of a median value of luminance differencesbetween the image of the first grayscale value and the image of thesecond grayscale value for a plurality of the display units as thetarget luminance difference.
 9. The method for acquiring luminancecompensation data of claim 1, wherein each of the display unitscomprises a sub-pixel.
 10. The method for acquiring luminancecompensation data of claim 1, further comprising: determining a size ofa flash memory of the display panel, based on the required images ofgrayscale values.
 11. The method for acquiring luminance compensationdata of claim 10, wherein the size of the flash memory is positivelycorrelated with a number of the required images of grayscale values. 12.An apparatus for acquiring luminance compensation data, to be applied toa display panel to be compensated, wherein the display panel comprises aplurality of display units, and the apparatus comprises: a collectionmodule, configured to collect an image of a first grayscale value and animage of a second grayscale value displayed by the display panel; acalculation module, configured to calculate a luminance differencebetween the image of the first grayscale value and the image of thesecond grayscale value for each of the display units of the displaypanel, based on the image of the first grayscale value and the image ofthe second grayscale value; a first determination module, configured todetermine a target luminance difference based on the luminancedifference between the image of the first grayscale value and the imageof the second grayscale value for each of the display units; a seconddetermination module, configured to determine a preset compensation datacalculation scheme corresponding to the display panel and acquire imagesof grayscale values required by the preset compensation data calculationscheme, based on a preset condition that the target luminance differencemeets; and a third determination module, configured to determine theluminance compensation data for the display panel, based on the acquiredimages of grayscale values.
 13. The apparatus for acquiring luminancecompensation data of claim 12, wherein the second determination moduleis specifically configured to: determine that the preset compensationdata calculation scheme corresponding to the display panel is a firstscheme, when the preset condition is that the target luminancedifference is less than a first preset threshold K1 of luminancedifference, wherein the images of grayscale values required by the firstscheme comprise the image of the first grayscale value and the image ofthe second grayscale value.
 14. The apparatus for acquiring luminancecompensation data of claim 12, wherein the second determination moduleis specifically configured to: determine that the preset compensationdata calculation scheme corresponding to the display panel is a secondscheme, when the preset condition is that the target luminancedifference is greater than or equal to a first preset threshold K1 ofluminance difference and less than a second preset threshold K2 ofluminance difference, wherein the images of grayscale values required bythe second scheme comprise the image of the first grayscale value andthe image of the second grayscale value, an image of a third grayscalevalue, and an image of a fourth grayscale value, and both the thirdgrayscale value and the fourth grayscale value are between the firstgrayscale value and the second grayscale value; and collect the image ofthe third grayscale value and the image of the fourth grayscale valuedisplayed by the display panel.
 15. The apparatus for acquiringluminance compensation data of claim 12, wherein the seconddetermination module is specifically configured to: determine that thepreset compensation data calculation scheme corresponding to the displaypanel is a third scheme, when the preset condition is that the targetluminance difference is greater than or equal to a second presetthreshold K2 of luminance difference, wherein the images of grayscalevalues required by the third scheme comprise the image of the firstgrayscale value and the image of the second grayscale value, an image ofa third grayscale value, an image of a fourth grayscale value, an imageof a fifth grayscale value, and an image of a sixth grayscale value,both the third grayscale value and the fourth grayscale value arebetween the first grayscale value and the second grayscale value, andboth the fifth grayscale value and the sixth grayscale value are betweenthe third grayscale value and fourth grayscale value; and collect theimage of the third grayscale value, the image of the fourth grayscalevalue, the image of the fifth grayscale value, and the image of thesixth grayscale value displayed by the display panel.
 16. A device foracquiring luminance compensation data, comprising: a processor; and amemory, having computer program instructions stored thereon; wherein theprocessor, when executing the computer program instructions, implementsthe method for acquiring luminance compensation data of claim 1.